home *** CD-ROM | disk | FTP | other *** search
- /*
- File: scaler library.h
-
- Copyright: © 1984-1994 by Apple Computer, Inc., all rights reserved.
-
- WARNING
- This file was auto generated by the interfacer tool. Modifications
- must be made to the master file.
-
- */
-
- #ifndef scalerLibraryIncludes
- #define scalerLibraryIncludes
-
- #ifndef __COMPONENTS__
- #include "Components.h"
- /* #include <Types.h> */
- /* #include <ConditionalMacros.h> */
- /* #include <MixedMode.h> */
- /* #include <Traps.h> */
- #endif
-
- #ifndef scalerTypeIncludes
- #include "scaler types.h"
- /* #include "math types.h" */
- /* #include "sfnt types.h" */
- #endif
-
- enum {
- kScalerOpenSelect = 0,
- kScalerNewFontSelect,
- kScalerNewVariationSelect,
- kScalerNewTransformationSelect,
- kScalerNewGlyphSelect,
- kScalerStreamFontSelect,
- kScalerKernGlyphsSelect,
- kScalerCloseSelect
- };
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- extern scalerError FontScalerOpen(scalerContext *context, scalerInfo *theInfo);
- extern scalerError FontScalerNewFont(scalerContext *context, scalerFontInfo *info);
- extern scalerError FontScalerNewVariation(scalerContext *context, long count, const gxFontVariation variation[]);
- extern scalerError FontScalerNewTransform(scalerContext *context, const scalerTransform *trans, scalerTransformInfo *info);
- extern scalerError FontScalerNewGlyph(scalerContext *context, const scalerGlyph *glyph, scalerMetrics *theMetrics, scalerBitmap *bitImage, void *outlineData);
- extern scalerError FontScalerStreamFont(scalerContext *context, scalerStream *stream);
- extern scalerError FontScalerKernGlyphs(scalerContext *context, scalerKerning *kerning, gxPoint deltas[], scalerKerningNote flags[], gxPoint locations[]);
- extern scalerError FontScalerClose(scalerContext *context);
- extern void CloseAllOpenFontScalers(void);
- #define FSCCallNow(selector, size) = ComponentCallNow(selector,size)
-
- #undef FSCCallNow
- #ifdef __cplusplus
- #endif
-
- #endif
-
-